package com.sntk.commongetway.controller;

import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: RouteController
 * @author: wgchao
 * @createTime: 2020/12/7 10:46 AM
 * @Description: TODO
 */
@RestController
public class RouteController {

    @RequestMapping("/incaseoffailureusethis")
    public ResponseEntity noRoute(){
        return ResponseEntity.status(HttpStatus.NOT_FOUND).build();
    }
}
